﻿namespace Leo.Common.MQ
{
    /// <summary>
    /// 死信 规则
    /// </summary>
    public class DeadLetterRule
    {
        public DeadLetterRule(string exchange, string routingKey)
        {
            this.Exchange = exchange;
            this.RoutingKey = routingKey;
        }

        /// <summary>
        /// 交换机
        /// </summary>
        public string Exchange { get; set; }

        public string RoutingKey { get; set; }

    }
}
